﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001521 RID: 5409
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WorkbenchReforgeFormulaTargetInfo : IMessage<WorkbenchReforgeFormulaTargetInfo>, IMessage, IEquatable<WorkbenchReforgeFormulaTargetInfo>, IDeepCloneable<WorkbenchReforgeFormulaTargetInfo>, IBufferMessage
	{
		// Token: 0x17004426 RID: 17446
		// (get) Token: 0x0600F221 RID: 61985 RVA: 0x00286B9D File Offset: 0x00284D9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WorkbenchReforgeFormulaTargetInfo> Parser
		{
			get
			{
				return WorkbenchReforgeFormulaTargetInfo._parser;
			}
		}

		// Token: 0x17004427 RID: 17447
		// (get) Token: 0x0600F222 RID: 61986 RVA: 0x00286BA4 File Offset: 0x00284DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WorkbenchReforgeFormulaTargetInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004428 RID: 17448
		// (get) Token: 0x0600F223 RID: 61987 RVA: 0x00286BB6 File Offset: 0x00284DB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WorkbenchReforgeFormulaTargetInfo.Descriptor;
			}
		}

		// Token: 0x0600F224 RID: 61988 RVA: 0x00286BBD File Offset: 0x00284DBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeFormulaTargetInfo()
		{
		}

		// Token: 0x0600F225 RID: 61989 RVA: 0x00286BC5 File Offset: 0x00284DC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeFormulaTargetInfo(WorkbenchReforgeFormulaTargetInfo other) : this()
		{
			this.targetReforgeFormulaId_ = other.targetReforgeFormulaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F226 RID: 61990 RVA: 0x00286BEA File Offset: 0x00284DEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeFormulaTargetInfo Clone()
		{
			return new WorkbenchReforgeFormulaTargetInfo(this);
		}

		// Token: 0x17004429 RID: 17449
		// (get) Token: 0x0600F227 RID: 61991 RVA: 0x00286BF2 File Offset: 0x00284DF2
		// (set) Token: 0x0600F228 RID: 61992 RVA: 0x00286BFA File Offset: 0x00284DFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TargetReforgeFormulaId
		{
			get
			{
				return this.targetReforgeFormulaId_;
			}
			set
			{
				this.targetReforgeFormulaId_ = value;
			}
		}

		// Token: 0x0600F229 RID: 61993 RVA: 0x00286C03 File Offset: 0x00284E03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WorkbenchReforgeFormulaTargetInfo);
		}

		// Token: 0x0600F22A RID: 61994 RVA: 0x00286C11 File Offset: 0x00284E11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WorkbenchReforgeFormulaTargetInfo other)
		{
			return other != null && (other == this || (this.TargetReforgeFormulaId == other.TargetReforgeFormulaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F22B RID: 61995 RVA: 0x00286C40 File Offset: 0x00284E40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TargetReforgeFormulaId != 0U)
			{
				num ^= this.TargetReforgeFormulaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F22C RID: 61996 RVA: 0x00286C7F File Offset: 0x00284E7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F22D RID: 61997 RVA: 0x00286C87 File Offset: 0x00284E87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F22E RID: 61998 RVA: 0x00286C90 File Offset: 0x00284E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TargetReforgeFormulaId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.TargetReforgeFormulaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F22F RID: 61999 RVA: 0x00286CC4 File Offset: 0x00284EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TargetReforgeFormulaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TargetReforgeFormulaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F230 RID: 62000 RVA: 0x00286D02 File Offset: 0x00284F02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WorkbenchReforgeFormulaTargetInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TargetReforgeFormulaId != 0U)
			{
				this.TargetReforgeFormulaId = other.TargetReforgeFormulaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F231 RID: 62001 RVA: 0x00286D33 File Offset: 0x00284F33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F232 RID: 62002 RVA: 0x00286D3C File Offset: 0x00284F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TargetReforgeFormulaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005F8D RID: 24461
		private static readonly MessageParser<WorkbenchReforgeFormulaTargetInfo> _parser = new MessageParser<WorkbenchReforgeFormulaTargetInfo>(() => new WorkbenchReforgeFormulaTargetInfo());

		// Token: 0x04005F8E RID: 24462
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F8F RID: 24463
		public const int TargetReforgeFormulaIdFieldNumber = 11;

		// Token: 0x04005F90 RID: 24464
		private uint targetReforgeFormulaId_;
	}
}
